/*
 * Copyright (c) 2024. hallele, Inc All rights reserved.
 */

package cn.hallele.infrastructure.metadata.io;

/**
 * hallele_mc_core
 *
 * @author anle5
 * @since 2024/10/5 16:04
 */
public class R {
    /**
     * 成功响应
     *
     * @param t   响应数据
     * @param <T> 响应数据
     * @return 响应
     */
    public static <T> Response<T> ok(T t) {
        return Response.<T>builder().data(t).build();
    }
}
